﻿// =================================================================== 
// 项目说明
//====================================================================
// 文件： ERP_Lendgather.cs
// 创建时间：2016/12/20
// 负责人：
// ===================================================================
using System;

//注意：该文件自动生成，一般请不要手工修改。

namespace CRMMis.Model
{
	/// <summary>
	///销售借出月汇总表(ERP_Lendgather)数据实体
	/// </summary>
	[Serializable]
	public class ERP_Lendgather
	{
		#region 变量定义
		
		///<summary>
		///编号
		///</summary>
		private int _id;
		
		///<summary>
		///销售人员
		///</summary>
		private string _saler = String.Empty;
		
		///<summary>
		///年
		///</summary>
		private int _year;
		
		///<summary>
		///月
		///</summary>
		private int _month;
		
		///<summary>
		///借出数量
		///</summary>
		private int _lendCount;
		
		///<summary>
		///借出金额
		///</summary>
		private decimal _lendMoney;
		
		///<summary>
		///退还数量
		///</summary>
		private int _returnCount;
		
		///<summary>
		///退还金额
		///</summary>
		private decimal _returnMoney;
		#endregion
		
		#region 构造函数

		///<summary>
		///销售借出月汇总表的构造函数，默认值通过数据库的default取得
		///</summary>
		public ERP_Lendgather()
		{
 
		}
		///<summary>
		///销售借出月汇总表
		///</summary>
		public ERP_Lendgather
		(
			int id,
			string saler,
			int year,
			int month,
			int lendCount,
			decimal lendMoney,
			int returnCount,
			decimal returnMoney
		)
		{
			_id          = id;
			_saler       = saler;
			_year        = year;
			_month       = month;
			_lendCount   = lendCount;
			_lendMoney   = lendMoney;
			_returnCount = returnCount;
			_returnMoney = returnMoney;
			
		}
		
		

		#endregion
		
		#region 公共属性

		
		
		///<summary>
		///编号
		///</summary>
		public int Id
		{
			get {return _id;}
			set {_id = value;}
		}

		
		///<summary>
		///销售人员
		///</summary>
		public string Saler
		{
			get {return _saler;}
			set {_saler = value;}
		}

		
		///<summary>
		///年
		///</summary>
		public int year
		{
			get {return _year;}
			set {_year = value;}
		}

		
		///<summary>
		///月
		///</summary>
		public int Month
		{
			get {return _month;}
			set {_month = value;}
		}

		
		///<summary>
		///借出数量
		///</summary>
		public int LendCount
		{
			get {return _lendCount;}
			set {_lendCount = value;}
		}

		
		///<summary>
		///借出金额
		///</summary>
		public decimal LendMoney
		{
			get {return _lendMoney;}
			set {_lendMoney = value;}
		}

		
		///<summary>
		///退还数量
		///</summary>
		public int ReturnCount
		{
			get {return _returnCount;}
			set {_returnCount = value;}
		}

		
		///<summary>
		///退还金额
		///</summary>
		public decimal ReturnMoney
		{
			get {return _returnMoney;}
			set {_returnMoney = value;}
		}
	
		#endregion
		
	}
}